-- GENERATED SPELL FOR [Milton Beats] --


function spell0_13082(pUnit, Event) --@Incapacitating Shout,Self--
pUnit:FullCastSpellOnTarget(18328,pUnit)
pUnit:RegisterEvent('Sorts_13082', 8293, 1)
end

function spell1_13082(pUnit, Event) --@Slap!,n/a--
pUnit:FullCastSpellOnTarget(6754,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_13082', 3348, 1)
end

function Sorts_13082(pUnit, Event)
local choix_sorts_13082 = math.random(0, 1)
if choix_sorts_13082 == 0 then
pUnit:RegisterEvent('spell0_13082', 1, 1)
end
if choix_sorts_13082 == 1 then
pUnit:RegisterEvent('spell1_13082', 1, 1)
end
end

function mob13082_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_13082', math.random(1500, 3000), 1)
end

function mob13082_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob13082_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob13082_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(13082, 1, 'mob13082_Action')
RegisterUnitEvent(13082, 2, 'mob13082_Leave')
RegisterUnitEvent(13082, 3, 'mob13082_Kill')
RegisterUnitEvent(13082, 4, 'mob13082_Die')
